package com.dumengwei.cms_monthmn.entity;

import java.math.BigDecimal;

public class Patent {
	private Integer id;
	private Integer companyId;
	private String patentNo;
	private String patentName;
	private String category;
	private BigDecimal sales1;
	private BigDecimal sales2;
	private BigDecimal rewards;
	
	//字段扩展
	private String name;
	private Double wucha; //误差值
	//企业自报销售总额
	private BigDecimal sumSales1;
	//评审标准销售总额
	private BigDecimal sumSales2; 
	//财政奖励总额
	private BigDecimal sumRewards; 
	public Patent() {
		// TODO Auto-generated constructor stub
	}
	public Patent(Integer id, Integer companyId, String patentNo, String patentName, String category, BigDecimal sales1,
			BigDecimal sales2, BigDecimal rewards, String name, Double wucha) {
		super();
		this.id = id;
		this.companyId = companyId;
		this.patentNo = patentNo;
		this.patentName = patentName;
		this.category = category;
		this.sales1 = sales1;
		this.sales2 = sales2;
		this.rewards = rewards;
		this.name = name;
		this.wucha = wucha;
	}


	public BigDecimal getSumSales1() {
		return sumSales1;
	}
	public void setSumSales1(BigDecimal sumSales1) {
		this.sumSales1 = sumSales1;
	}
	public BigDecimal getSumSales2() {
		return sumSales2;
	}
	public void setSumSales2(BigDecimal sumSales2) {
		this.sumSales2 = sumSales2;
	}
	public BigDecimal getSumRewards() {
		return sumRewards;
	}
	public void setSumRewards(BigDecimal sumRewards) {
		this.sumRewards = sumRewards;
	}
	public Double getWucha() {
		return wucha;
	}
	public void setWucha(Double wucha) {
		this.wucha = wucha;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getCompanyId() {
		return companyId;
	}
	public void setCompanyId(Integer companyId) {
		this.companyId = companyId;
	}
	public String getPatentNo() {
		return patentNo;
	}
	public void setPatentNo(String patentNo) {
		this.patentNo = patentNo;
	}
	public String getPatentName() {
		return patentName;
	}
	public void setPatentName(String patentName) {
		this.patentName = patentName;
	}
	public String getCategory() {
		return category;
	}
	public void setCategory(String category) {
		this.category = category;
	}
	
	



	public BigDecimal getSales1() {
		return sales1;
	}
	public void setSales1(BigDecimal sales1) {
		this.sales1 = sales1;
	}
	public BigDecimal getSales2() {
		return sales2;
	}
	public void setSales2(BigDecimal sales2) {
		this.sales2 = sales2;
	}
	public BigDecimal getRewards() {
		return rewards;
	}
	public void setRewards(BigDecimal rewards) {
		this.rewards = rewards;
	}
	@Override
	public String toString() {
		return "Patent [id=" + id + ", companyId=" + companyId + ", patentNo=" + patentNo + ", patentName=" + patentName
				+ ", category=" + category + ", sales1=" + sales1 + ", sales2=" + sales2 + ", rewards=" + rewards + "]";
	}
	
}
